//
//  RootViewController.h
//  TVLive
//
//  Created by sid on 21/05/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MyMovieViewController.h"
#import "TVLiveAppDelegate.h"
#import "TVParser.h"
#import "FlipsideViewController.h"
#import "Reachability.h"
#import "unistd.h"

@interface RootViewController : UITableViewController <FlipsideViewControllerDelegate>
{
	NSMutableArray *channels;
	TVParser *tv;
	
	//Reachability
	NetworkStatus internetConnectionStatus;
	NetworkStatus remoteHostStatus;
}

- (void)deselectRowOfTable:(NSIndexPath *)indexPath;

//Reachability
- (void)reachabilityChanged:(NSNotification *)note;
- (void)initStatus;
- (void)updateStatus;

@property NetworkStatus internetConnectionStatus;
@property NetworkStatus remoteHostStatus;

@property (nonatomic, retain) NSMutableArray *channels;

@end
